package qc.module.sl.api.controller;

import org.springframework.web.bind.annotation.*;
import qc.module.sl.dto.business.statistics.condition.RainIntensityStatisticsConditionDto;
import qc.module.sl.dto.business.statistics.condition.WaterQualityStatisticsConditionDto;
import qc.module.sl.dto.business.statistics.result.RainIntensityStatisticsResultItemDto;
import qc.module.sl.dto.business.statistics.result.StationClassifyStatisticsResultItemDto;
import qc.module.sl.dto.business.statistics.result.WaterQualityStatisticsResultItemDto;
import qc.module.sl.dto.monitordata.StationStatusDto;

import java.util.List;

/**
 * BusinessController
 *
 * @author QuCheng Tech
 * @create 2023/1/9
 */
@RestController
@RequestMapping("/bi")
public class BusinessController {

    @GetMapping("/sts-ri")
    public List<RainIntensityStatisticsResultItemDto> stsStationsRainIntensity(@RequestBody RainIntensityStatisticsConditionDto dto) {
        return null;
    }

    @GetMapping("/sts-wq")
    public List<WaterQualityStatisticsResultItemDto> stsStationsWaterQuality(@RequestBody WaterQualityStatisticsConditionDto dto) {
        return null;
    }

    @GetMapping("/lateststatusbyclassify")
    public List<StationStatusDto> queryLatestStatusByStationClassify(@RequestParam(required = true) String classifycode) {
        return null;
    }

    @GetMapping("/sts-stationclassify")
    public List<StationClassifyStatisticsResultItemDto> stsStationClassifyOnlineAndWarnings() {
        return null;
    }
}
